-- GENERATED SPELL FOR [Tainted Ooze] --


function spell0_7092(pUnit, Event) --@Dark Sludge,n/a--
pUnit:FullCastSpellOnTarget(3335,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7092', 5000, 1)
end

function Sorts_7092(pUnit, Event)
local choix_sorts_7092 = math.random(0, 0)
if choix_sorts_7092 == 0 then
pUnit:RegisterEvent('spell0_7092', 1, 1)
end
end

function mob7092_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7092', math.random(1500, 3000), 1)
end

function mob7092_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7092_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7092_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7092, 1, 'mob7092_Action')
RegisterUnitEvent(7092, 2, 'mob7092_Leave')
RegisterUnitEvent(7092, 3, 'mob7092_Kill')
RegisterUnitEvent(7092, 4, 'mob7092_Die')
